package org.csu.jpetstoremanagement.persistence;

import org.csu.jpetstoremanagement.domain.Log;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface LogMapper {

    List<Log> getAllLog();
    Log getLogByDate(String date);
    void insertLog(Map<String, Object> map);
    void deleteLog(String date);
    int getViewNumber();
    int getTodayViewNumber(String day);
}
